#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "stbimage.h"
#include "stbimageWrite.h"
#include "IPFunResNew.h"



int main(int argc, char * argv[]) {
	int i = 0;
	while(i != 5){
		i = menu(i);
		switch (i){
		case 1:
			load_img();
			break;
		case 2:
			filtroCor();
			break;
		case 3:
			sepiaCor();
			break;
		case 4:
			inverter();
			break;
		case 5:
			printf("Programa Encerrado\n");
			break;
		default:
			printf("Nao tem essa opcao\n");
			break;
		}
	}


	system("pause");
	return 0;
}

